using XEvolve.Core.Runtime;
using XEvolve.Core.Runtime.Attributes;
using XEvolve.Repository.Core;

namespace XEvolve.Repository
{
    [PluginId("xevolve.repository")]
    public class RepositoryPlugin : Plugin
    {
        public RepositoryPlugin()
            : base(new Plugin[0])
        {
        }

        protected override void Initialize(Platform platform)
        {
            platform.Registry.RegisterExtensionPoint("xevolve.repository.ex");
            platform.RegisterService(typeof(XRepository), typeof(XRepository));
        }
    }
}
